package com.upcode.weighing.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Map;

@Data
public class DetectOverTypeStats {
    @ApiModelProperty(value = "超限类型(1未超限,2总重超限,3轴荷超限,4总重轴荷超限)")
    private Short overType;
    @ApiModelProperty(value = "检测数量")
    private Long detectNum;
    @ApiModelProperty(value = "超限占比,超限类型数量占超限总数的比例")
    private Double overRatio;
    @ApiModelProperty(value = "总数占比,超限类型数量占检测总数的比例")
    private Double totalRatio;
    /**
     * //未超限
     */
    public static final int OVER_TYPE_NOT=1;
    public static final int OVER_TYPE_WEIGHT=2;//总重超限
    public static final int OVER_TYPE_AXIS=3;//轴荷超限
    public static final int OVER_TYPE_WEIGHT_AXIS=3;//轴荷超限
}
